Improving PARMA trailing
نویسندگان
چکیده
Taylor introduced a variable binding scheme for logic variables in his PARMA system, that uses cycles of bindings rather than the linear chains of bindings used in the standard WAM representation. Both the HAL and dProlog languages make use of the PARMA representation in their Herbrand constraint solvers. Unfortunately, PARMA’s trailing scheme is considerably more expensive in both time and space consumption. The aim of this paper is to present several techniques that lower the cost. First, we introduce a trailing analysis for HAL using the classic PARMA trailing scheme that detects and eliminates unnecessary trailings. The analysis, whose accuracy comes from HAL’s determinism and mode declarations, has been integrated in the HAL compiler and is shown to produce space improvements as well as speed improvements. Second, we explain how to modify the classic PARMA trailing scheme to halve its trailing cost. This technique is illustrated and evaluated both in the context of dProlog and HAL. Finally, we explain the modifications needed by the trailing analysis in order to be combined with our modified PARMA trailing scheme. Empirical evidence shows that the combination is more effective than any of the techniques when used in isolation.
منابع مشابه
Combining an Improvement to PARMA Trailing with Analysis in HAL
Trailing of bindings in the PARMA variable representation is expensive in time and space. We present two schemes that lower its cost: the first is a technique that halves the space cost of trailing in PARMA. It can be used with both conditional and unconditional trailing. It is illustrated and evaluated in the context of dProlog and in the Mercury backend of HAL. The second scheme combines a va...
متن کاملTrailing Analysis for HAL
The HAL language includes a Herbrand constraint solver which uses Taylor’s PARMA scheme rather than the standard WAM representation. This allows HAL to generate more efficient Mercury code. Unfortunately, PARMA’s variable representation requires value trailing with a trail stack consumption about twice as large as for the WAM. We present a trailing analysis aimed at determining which Herbrand v...
متن کاملKinematic Synthesis of a Trailing Six-member Mechanism for Automotive Steering
Kinematic synthesis of a trailing six-member mechanism has been carried out to achieve five precision points of an automotive steering mechanism. The inner wheel can be rotated up to forty five degrees with fair accuracy. Results show that the divergent end behavior of Ackermann Steering Mechanism has been overcome by the present mechanism. The work is similar to earlier work by the present ...
متن کاملA Psychophysical Approach to Test: “The Bignetti Model”
1Department of Veterinary Sciences, University of Parma, Via del Taglio 10, Parma 43126, Italy 2Department of Food Science, University of Parma, Via del Taglio 10, Parma 43126, Italy 3Department of Neurosciences, University of Parma, Via del Taglio 10, Parma 43126, Italy *Corresponding author Enrico Bignetti, MD Professor of Clinical Biochemistry and Molecular Biology Department of Veterinary S...
متن کاملSimulating Cooling Injection Effect of Trailing Edge of Gas Turbine Blade on Surface Mach Number Distribution of Blade
In this research, a gas turbine blade cascade was investigated. Flow analysis around the blade was conducted using RSM and RNG.K-ε turbulence modeling and it is simulated by Fluent software. The results were considered for the cases as Mach number loss at the trailing edge of blade caused by vortexes that were generated at the end of blade. Effect of cooling flow through the trailing edge on th...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- TPLP
دوره 6 شماره
صفحات -
تاریخ انتشار 2006